class CreateSpuImages < ActiveRecord::Migration[5.2]
  def change
    create_table :spu_images do |t|
      t.string :image
      t.integer :spu_id
      t.integer :sort, default: 0

      t.timestamps
    end
  end
end
